@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div style="display: none">
            <input type="hidden" id="areaAbbreviationValue" value="${areaAbbreviationValue}">
            <input type="hidden" id="menuName" value="市场-通话统计">
        </div>
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="today" onclick="CallRecordTotalTable.today()"><span>今日</span></div>
            <div onclick="CallRecordTotalTable.yesterday()"><span>昨日</span></div>
            <div onclick="CallRecordTotalTable.thisWeek()"><span>本周</span></div>
            <div onclick="CallRecordTotalTable.thisMonth()"><span>本月</span></div>
            <div onclick="CallRecordTotalTable.lastMonth()"><span>同比</span></div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>时间</span>
                    <input type="text" autocomplete="off" id="startCreateTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endCreateTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div>
                    <span>区域</span>
                    <select id="area" title="请选择" onchange="CallRecordTotalTable.selectionTwo()" style="width: 115px;">
                        <option value="请选择">请选择</option>
                        @for(str in areaList){
                        <option value="${str.areaAbbreviation}">${str.area}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="CallRecordTotalTable.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    @if(shiro.hasPermission("/report/export")){
                    <button type="button" class="btn" onclick="$('#CallRecordTotalTable').tableExport({ type: 'excel', escape: 'false' })">
                        <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="CallRecordTotalTable"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/marketing/reservations/callRecordTotal.js?v=20200628"></script>
@}